package com.example.demo.base.login.service;

import com.example.demo.base.login.dto.RsaPublicKeyBo;

/**
 * TODO
 *
 * @author mazh47622
 * @date2023/12/18
 * @modify -----------------------------------------------------------------------------------------------------
 * |修改单号|修改人员|修改日期|评审人员|修改说明
 * -----------------------------------------------------------------------------------------------------
 * |      |       |      |       |
 * -----------------------------------------------------------------------------------------------------
 */
public interface RsaService {
    RsaPublicKeyBo generateKey();
    String RSADecrypt(String content, String random);

    String getPublicKeyByRedis(String random);

    String getPrivateKeyByRedis(String random);
}
